<?php echo $html->docType('html4-trans'); ?> 
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="es" lang="es-CL">
<head profile="http://gmpg.org/xfn/11">
  <?php echo $html->charset(); ?> 
  <title><?php echo sprintf('%sMinicatalogo', $title_for_layout . ' &middot; '); ?></title>
  <?php echo $html->meta('description', 'Minicatalogo.cl - Comprar nunca fue más fácil y entretenido.'); ?> 
  <?php echo $html->meta('keywords', 'minicatalogo, minicatalogo.cl, catalogo, tienda, vestuario, tecnología, industrias'); ?> 
  <meta name="language" content="es"/>
  <meta name="author" content="Creativostudio, Restart.cl"/>
  <meta name="google-site-verification" content="asRp-JUE5uNfOTJkPBv9oJe2F3YRL0nmSUukIdal64E" />
  <meta name="googlebot" content="index,follow" />
  <meta name="robots" content="index,follow"/>
  <meta name="revisit-after" content="1 day" />

  <link rel="Portada" title="Minicatalogo" href="<?php echo $html->url('/', true); ?>" />
  <link rel="Directorio" title="Directorio" href="<?php echo $html->url(array('controller' => 'directory', 'action' => 'index'), true); ?>" />
  <link rel="Popular" title="Popular" href="<?php echo $html->url(array('controller' => 'popular', 'action' => 'index'), true); ?>" />
  <link rel="Como Funciona" title="Como Funciona" href="<?php echo $html->url(array('controller' => 'pages', 'action' => 'display', 'how-it-works'), true); ?>" />
  <link rel="Blog" title="Blog" href="http://blog.minicatalogo.cl" />
  <link rel="Nosotros" title="Nosotros" href="<?php echo $html->url(array('controller' => 'pages', 'action' => 'display', 'about'), true); ?>" />
  
  <link rel="search" type="application/opensearchdescription+xml" href="<?php echo $html->url('/opensearch.xml', true); ?>" title="Minicatalogo">
  
  <?php echo $html->meta('icon', $html->url('/statics/favicon.ico', true), array('type' => 'icon')); ?> 
  <?php echo $html->meta(__('Productos', true), array('controller' => 'rss', 'products'), array('type' => 'rss')); ?> 
  <?php echo $html->meta(__('Novedades', true), array('controller' => 'rss', 'news'), array('type' => 'rss')); ?>
  
  <script type="text/javascript">
    var WWW_BASE = '<?php echo $this->webroot; ?>';
  </script>
  <?php echo $javascript->link(array('/static/js/jquery.1.4.2')); ?> 
  <?php echo $html->css(array('/static/css/base', '/static/css/error'), null, array('media' => 'screen,projection')); ?> 
  <!--[if lte IE 8]><?php echo $html->css('/static/css/error-ie'); ?><![endif]-->
  <?php echo $scripts_for_layout; ?>
</head>
<body>

<div id="container">
	<div id="inner">
		<div id="head">
			<div class="wrapper">
				<?php echo $html->link('Minicatalogo.cl', array('controller' => 'home'), array('class' => 'logo')); ?>
				<?php echo $html->link('Minicatalogo - Comprar nunca fue más fácil y entretenido', array('controller' => 'home', 'action' => 'index'), array('class' => 'logo')); ?>
			</div>
		</div>
		
		<div id="body">
			<div class="wrapper">

<?php
	if ($session->check('Message.flash')) {
		echo '<div id="flashMessage" class="' . ($session->check('Message.params.class') ? $session->read('Message.params.class') : 'message') . '">';
		$session->flash();
		echo '</div>';
	}
	echo $content_for_layout . "\n";
?>
				
			</div>
		</div>
		
		<div id="foot">
			<div class="wrapper">
				
				<div class="grid-16 links">
					<strong class="cc">(cc) <?php echo date('Y'); ?>, Minicatalogo.cl</strong>
				
					<!-- <?php //echo $html->link(__('Ayuda', true), array('controller' => 'pages', 'action' => 'display', 'help')); ?> --> 
					<?php echo $html->link(__('Nosotros', true), array('controller' => 'pages', 'action' => 'display', 'about')); ?>
					<?php echo $html->link(__('Contacto', true), array('controller' => 'pages', 'action' => 'display', 'contact')); ?> 
					<!-- <?php //echo $html->link(__('Diseños', true), array('controller' => 'themes')); ?> --> 
					<!-- <?php //echo $html->link(__('Directorio', true), array('controller' => 'directory')); ?>  --> 
					<!-- <?php //echo $html->link(__('Mapa', true), array('controller' => 'map')); ?>  --> 
					<!-- <?php //echo $html->link(__('Blog', true), 'http://blog.minicatalogo.cl'); ?>  --> 
					<!-- <?php //echo $html->link(__('Feedback', true), 'http://feedback.minicatalogo.cl'); ?> --> 
					<!-- <?php //echo $html->link(__('Soporte', true), array('controller' => 'pages', 'action' => 'display', 'support')); ?> --> 
					<?php echo $html->link(__('Privacidad', true), array('controller' => 'pages', 'action' => 'display', 'privacy-policy')); ?> 
					<?php echo $html->link(__('Política de Contenido', true), array('controller' => 'pages', 'action' => 'display', 'content-policy')); ?> 
					<?php echo $html->link(__('Términos de Servicio', true), array('controller' => 'pages', 'action' => 'display', 'terms-of-service')); ?> 
					<!-- <?php //echo $html->link(__('Política de Privacidad', true), array('controller' => 'pages', 'action' => 'display', 'privacy-policy')); ?> -->
				</div>
				<div class="grid-3 language">
					<?php echo $form->input('Language', array('type' => 'select', 'options' => array('spa' => __('Español', true), 'eng' => __('Ingles', true)),'div' => false, 'label' => __('Idiomas', true))); ?>
				</div>
				<div class="grid-13 social">
					<ul>
						<li class="rss"><?php echo $html->link(__('RSS', true), array('controller' => 'rss', 'action' => 'index')); ?></li>
						<li class="youtube"><?php echo $html->link(__('Youtube', true), 'http://www.youtube.com/minicatalogo', array('target' => '_blank')); ?></li>
						<li class="twitter"><?php echo $html->link(__('Twitter', true), 'http://twitter.com/minicatalogo', array('target' => '_blank')); ?></li>
						<li class="facebook"><?php echo $html->link(__('Facebook', true), 'http://www.facebook.com/pages/MinicatalogoCl/265511750178', array('target' => '_blank')); ?></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

</body>
</html>
